//
//  BSSelectImage.h
//  GOSProject
//
//  Created by 叶一枫 on 2017/3/20.
//  Copyright © 2017年 yeyifeng. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^imageBlock)(UIImage* selectedImage);
typedef void (^imagesBlock)(NSArray * selectedImages);

@interface BSSelectImage : NSObject<UIImagePickerControllerDelegate,UINavigationControllerDelegate>

@property (nonatomic,copy)imageBlock selectImageBlock;
@property (nonatomic,copy) imagesBlock selectImagesBlock;

-(void)selectImageFromLibrary:(BOOL)fromLibrary type:(NSString*)type viewController:(UIViewController*)viewController;


+ (BSSelectImage *)defaultBSSelect;
@end
